package com.jiankang.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jiankang.dao.HomepicturesDao;
import com.jiankang.entity.Homepictures;
import com.jiankang.service.HomepicturesService;
@Service("homepicturesService")
public class HomepicturesServiceImpl implements HomepicturesService {
	@Resource
	private HomepicturesDao homepicturesDao;
	@Override
	public List<Homepictures> sickness() {
		return homepicturesDao.sickness();
	}
	@Override
	public int savehome(Homepictures home) {
		// TODO Auto-generated method stub
		return homepicturesDao.savehome(home);
	}
	@Override
	public Homepictures formationdetails(int id) {
		// TODO Auto-generated method stub
		return homepicturesDao.formationdetails(id);
	}
	@Override
	public List<Homepictures> sicknessbackstage(int id) {
		// TODO Auto-generated method stub
		return homepicturesDao.sicknessbackstage(id);
	}
	@Override
	public int selectBookListCount(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return this.homepicturesDao.selectBookListCount(map);
	}
	@Override
	public List<Homepictures> selectBookList(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return this.homepicturesDao.selectBookList(map);
	}
	@Override
	public void deletehome(int id) {
		homepicturesDao.deletehome(id);
		
	}
	@Override
	public List<Homepictures> recommend(String id) {
		// TODO Auto-generated method stub
		return homepicturesDao.recommend(id);
	}
	@Override
	public int updatecancelaudit(Homepictures updatecancelaudit) {
		// TODO Auto-generated method stub
		return homepicturesDao.updatecancelaudit(updatecancelaudit);
	}
	@Override
	public int updatemodification(Homepictures modification) {
		// TODO Auto-generated method stub
		return homepicturesDao.updatemodification(modification);
	}

}
